package com.tangyuan.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: nyqm_customer_tixian
 * @Author: jeecg-boot
 * @Date:   2023-06-27
 * @Version: V1.0
 */
@Data
@TableName("nyqm_customer_tixian")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="nyqm_customer_tixian对象", description="nyqm_customer_tixian")
public class NyqmCustomerTixian implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;
	/**提现单号*/
    @ApiModelProperty(value = "提现单号")
    private String tixNo;
	/**代理id*/
    @ApiModelProperty(value = "代理id")
    private Long userId;
	/**代理账号*/
    @ApiModelProperty(value = "客户名称")
    private String customerName;
	/**提现金额*/
    @ApiModelProperty(value = "提现金额")
    private BigDecimal money;
	/**提现方式 1微信 2支付宝*/
    @ApiModelProperty(value = "提现方式 1微信 2支付宝")
    private Integer type;
	/**时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "时间")
    private Date createTime;
	/**更新时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
	/**状态1申请提现,2审批通过,-1审批不通过*/
    @ApiModelProperty(value = "状态1申请提现,2审批通过,-1审批不通过")
    private Integer examine;
	/**openId*/
    @ApiModelProperty(value = "openId")
    private String openId;
	/**姓名(ali)*/
    @ApiModelProperty(value = "姓名(ali)")
    private String txName;
	/**手机号(ali)*/
    @ApiModelProperty(value = "手机号(ali)")
    private String txIdentity;
	/**删除标识*/
    @ApiModelProperty(value = "删除标识")
    private Integer isDel;
	/**审核人*/
    @ApiModelProperty(value = "审核人")
    private String examineUser;

    @ApiModelProperty(value = "月份")
    @TableField(exist = false)
    private String time;

    @ApiModelProperty(value = "code")
    @TableField(exist = false)
    private String code;

    @ApiModelProperty(value = "手续费")
    @TableField(exist = false)
    private BigDecimal rel;
    @TableField(exist = false)
    private String password;
    @TableField(exist = false)
    private String name;
    @TableField(exist = false)
    private String identity;

    @ApiModelProperty(value = "放入财务表的计算值")
    @TableField(exist = false)
    private BigDecimal realMoney;
}
